package com.lanchetech.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 平台分红记录
 */
@ApiModel(value = "com-lanchetech-entity-PlatformCommissionRecord")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class PlatformCommissionRecord implements Serializable {
    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 收入金额
     */
    @ApiModelProperty(value = "收入金额")
    private BigDecimal payAmount;

    /**
     * 退款金额
     */
    @ApiModelProperty(value = "退款金额")
    private BigDecimal refundAmount;

    /**
     * 分红金额
     */
    @ApiModelProperty(value = "分红金额")
    private BigDecimal amount;

    /**
     * 类型 0 合伙人平台分红
     */
    @ApiModelProperty(value = "类型 0 合伙人平台分红")
    private Byte type;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    private static final long serialVersionUID = 1L;
}